import React from "react"
// import Navbar from "./NavBar.js"
import { NavBar, Icon } from 'antd-mobile';
import {withRouter} from "react-router-dom";

class Diantai_Navbar extends React.Component {

  goback(props){
    this.props.history.goBack()
    // console.log(222)
  }
  render() {
      return (
          <div className="diantai_navbar">
            <NavBar
              style={{backGround:'white'}}
              mode="dark"
              icon={<Icon type="left"  onClick={this.goback.bind(this)} style={{width:"30px",height:"30px",zIndex:10}}/>}

        
              
            >我的电台
            </NavBar>
          </div>
      )
  }
}

export default withRouter(Diantai_Navbar)

